package com.chenguo.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;

@Controller
public class TestController {



        @RequestMapping("/demo")
        public String test1(Model model){
            model.addAttribute("msg","Hello,Springboot！！！");
            //classpath:/templates/test.html
            return "test";
        }





}
